package zlatan_demo11_foreach

object ClassDemo05 {
  def main(args: Array[String]): Unit = {
    val list1 = (1 to 9).toList
    val list2 = list1.filter(_%2==0)
    println(list1)
    println("*" * 30)
    println(list2)
  }

}
